package com.task.manage.system.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.task.manage.common.annotation.Excel;
import com.task.manage.common.core.domain.BaseEntity;

/**
 * 任务管理器对象 task_manage
 *
 * @author ruoyi
 * @date 2024-05-10
 */
@Data
public class TaskManage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 任务记录id
     */
    private Long taskRecordId;
    /**
     * 商户id
     */
    private Long mercId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 人员id
     */
    @Excel(name = "人员id")
    private Long personId;

    /**
     * 实付价(元)
     */
    @Excel(name = "实付价(元)")
    private BigDecimal actualAmount;

    /**
     * 是否出评
     */
    @Excel(name = "是否出评")
    private String isEvaluate;

    /**
     * 是否结算
     */
    @Excel(name = "是否结算")
    private String isSettleAccounts;

    /**
     * 客服备注
     */
    private String personRemark;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setMercId(Long mercId) {
        this.mercId = mercId;
    }

    public Long getMercId() {
        return mercId;
    }

    public void setPersonId(Long personId) {
        this.personId = personId;
    }

    public Long getPersonId() {
        return personId;
    }

    public void setActualAmount(BigDecimal actualAmount) {
        this.actualAmount = actualAmount;
    }

    public BigDecimal getActualAmount() {
        return actualAmount;
    }

    public void setIsEvaluate(String isEvaluate) {
        this.isEvaluate = isEvaluate;
    }

    public String getIsEvaluate() {
        return isEvaluate;
    }

    public void setIsSettleAccounts(String isSettleAccounts) {
        this.isSettleAccounts = isSettleAccounts;
    }

    public String getIsSettleAccounts() {
        return isSettleAccounts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mercId", getMercId())
                .append("personId", getPersonId())
                .append("actualAmount", getActualAmount())
                .append("isEvaluate", getIsEvaluate())
                .append("isSettleAccounts", getIsSettleAccounts())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
